package com.business.exam.domain;

import com.business.common.annotation.Excel;
import com.business.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 题库名称对象 exam_qb_name
 *
 * @author zhanglele
 * @date 2023-11-17
 */
public class ExamQbName extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 题库名称id */
    private Long qbNameId;

    /** 题库名称 */
    @Excel(name = "题库名称")
    private String name;

    /** 顺序号 */
    @Excel(name = "顺序号")
    private Integer orderNum;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setQbNameId(Long qbNameId)
    {
        this.qbNameId = qbNameId;
    }

    public Long getQbNameId()
    {
        return qbNameId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setOrderNum(Integer orderNum)
    {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum()
    {
        return orderNum;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("qbNameId", getQbNameId())
            .append("name", getName())
            .append("orderNum", getOrderNum())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
